<?php

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;


/* @var $this yii\web\View */
/* @var $model backend\models\Backenduser */

$this->title = '创建后台角色';
$this->params['breadcrumbs'][] = ['label' => '后台角色', 'url' => ['quanxian']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="backend-user-form">

    <?php $form = ActiveForm::begin(); ?>
    <?= $form->field($jiaose, 'name')->textInput(['maxlength' => true,'placeholder'=>'请以字母来定义角色 如:admin']) ?>

    <?= $form->field($jiaose, 'description')->textInput(['maxlength' => true,'placeholder'=>'中文描述 如:系统管理员'])?>

    <div class="form-group">
        <?=  Html::submitButton($isNewRecord ? '创建' : '编辑', ['class' => $isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
